package com.ghf.dp2.sample;

public class Test {

    public static void main(String[] args) {
        //打折
        CashSuper cash = CashFactory.createCash("打折");
        System.out.println(cash.acceptCash(5000));
    }

}
